home *** CD-ROM | disk | FTP | other *** search
- snowBallHits = 0;
- throwPowerBar = 10;
- kills = 0;
- thisLevel = 1;
- levelEnd = false;
- powerUp1Hit = 20;
- powerUp2Hit = 10;
- powerUp3Hit = 20;
- powerUp4Hit = 40;
- powerUp5Hit = 5;
- powerUpDisplay = false;
- powerUpUse = false;
- powerUpShots = 0;
- powerUpTimeMax = 10000;
- shieldThrow = false;
- specialThrow = false;
- specialThrowWait = false;
- hitPause = false;
- shieldEnergy = 100;
- powerUpTimeOld = getTimer();
- plySpeed = 5;
- plySnowBalls = 0;
- plyMaxSnowBalls = 30;
- plyThrowTimeMax = 300;
- plyThrowTimeOld = getTimer();
- plyWalk = false;
- plyWithin = false;
- mouseX = ply._x;
- mouseY = ply._y;
- oppTotal = 3;
- oppSpeed = 9;
- oppMove = 0;
- oppMaxMove = 3;
- oppMoveAmount = 90;
- oppPauseLength = 500;
- oppSnowBalls = 0;
- oppMaxSnowBalls = 20;
- oppSnowBallPower = 9;
- oppThrowTimeMax = 300;
- oppThrowRate = 30;
- oppThrowTimeOld = getTimer();
- plyInitialise = function()
- {
- plyThrow.onRollOver = function()
- {
- plyWithin = true;
- };
- plyThrow.onRollOut = function()
- {
- plyWithin = false;
- };
- plyThrow.onDragOut = function()
- {
- plyWithin = false;
- };
- };
- plyInitialise();
- plyExchange = function()
- {
- ply.plyAnim.removeMovieClip();
- ply.attachMovie("CHARBack","plyAnim",ply.getNextHighestDepth());
- ply.plyAnim.charSelect = _root.charSelect;
- hitPause = false;
- };
- plyExchange();
- if(_root.charSelect == undefined)
- {
- _root.charSelect = "c";
- _root.charTeam = "agency";
- }
- ply.plyAnim.charSelect = _root.charSelect;
- ply.plyNo = 1;
- scorePanel.char.gotoAndStop(_root.charSelect);
- i = 1;
- while(i <= oppTotal)
- {
- this["oppb" + i].oppNo = i;
- i++;
- }
- charArray = new Array(3);
- charArray[1] = "wm";
- charArray[2] = "wm";
- charArray[3] = "wm";
- if(_root.charTeam == "agency")
- {
- tempSelect = 1;
- i = 1;
- while(i <= oppTotal)
- {
- tempSelect++;
- if(tempSelect > 3)
- {
- tempSelect = 3;
- }
- this["oppb" + i].oppAnim.charSelect = charArray[tempSelect];
- i++;
- }
- }
- else
- {
- tempSelect = 1;
- i = 1;
- while(i <= oppTotal)
- {
- tempSelect++;
- if(tempSelect > 3)
- {
- tempSelect = 1;
- }
- this["oppb" + i].oppAnim.charSelect = charArray[tempSelect];
- i++;
- }
- }
-